<div class="daotaohes view">
<h2><?php  __('Daotaohe');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $daotaohe['Daotaohe']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Daotao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $daotaohe['Daotaohe']['daotao']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Sửa hệ đào tạo', true), array('action' => 'edit', $daotaohe['Daotaohe']['id'])); ?> </li>
		<li><?php echo $html->link(__('Xóa', true), array('action' => 'delete', $daotaohe['Daotaohe']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $daotaohe['Daotaohe']['id'])); ?> </li>
		<li><?php echo $html->link(__('Danh mục hệ đào tạo', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm hệ đào tạo', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh mục lớp', true), array('controller' => 'lops', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm lớp mới', true), array('controller' => 'lops', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php  __('Related Lops');?></h3>
	<?php if (!empty($daotaohe['Lop'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $daotaohe['Lop']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Daotaohe Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $daotaohe['Lop']['daotaohe_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Khoa Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $daotaohe['Lop']['khoa_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nganh Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $daotaohe['Lop']['nganh_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Malop');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $daotaohe['Lop']['malop'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tenlop');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $daotaohe['Lop']['tenlop'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa thông tin lớp', true), array('controller' => 'lops', 'action' => 'edit', $daotaohe['Lop']['id'])); ?></li>
			</ul>
		</div>
	</div>
	<div class="related">
	<h3><?php __('Related Lops');?></h3>
	<?php if (!empty($daotaohe['Lop'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Daotaohe Id'); ?></th>
		<th><?php __('Khoa Id'); ?></th>
		<th><?php __('Nganh Id'); ?></th>
		<th><?php __('Malop'); ?></th>
		<th><?php __('Tenlop'); ?></th>
		<th class="actions"><?php __('Thao tác');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($daotaohe['Lop'] as $lop):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $lop['id'];?></td>
			<td><?php echo $lop['daotaohe_id'];?></td>
			<td><?php echo $lop['khoa_id'];?></td>
			<td><?php echo $lop['nganh_id'];?></td>
			<td><?php echo $lop['malop'];?></td>
			<td><?php echo $lop['tenlop'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'lops', 'action' => 'view', $lop['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'lops', 'action' => 'edit', $lop['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'lops', 'action' => 'delete', $lop['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $lop['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Thêm lớp mới', true), array('controller' => 'lops', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
